import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import './assets/styles/index.scss' // global css
// import '@/assets/styles/mixin.scss' // global css
import { Delete, Edit, Search, Share, Upload } from '@element-plus/icons-vue'
import Pagination from './components/Pagination/index.vue'


import App from './App.vue'
import router from './router'
import {store} from './store'

const app = createApp(App)

// 全局组件挂载
app.component('Pagination', Pagination)

app.use(router)
app.use(store)
app.use(ElementPlus)
app.use({ Delete, Edit, Search, Share, Upload })
app.use(Search)

app.mount('#app')